package app.modules.infrastructure.notification.support;

import javax.annotation.Nullable;

/**
 * @author mh.z
 */
public interface NotificationProvider {

    /**
     * 发送通知
     *
     * @param data
     * @param option
     * @return
     */
    NotificationResult sendNotification(NotificationData data, @Nullable NotificationOption option);
}
